package com.geekhalo.admin.domain.app.update;

import com.geekhalo.lego.core.command.CommandService;
import com.geekhalo.lego.core.command.CommandServiceDefinition;
import com.geekhalo.lego.core.command.CommandMethodDefinition;

import com.geekhalo.admin.domain.app.WebApplication;
import com.geekhalo.admin.domain.app.WebApplicationCommandRepository;

import com.geekhalo.admin.domain.app.update.UpdateWebApplicationCommand;
import com.geekhalo.admin.domain.app.update.UpdateWebApplicationContext;
import java.lang.Void;


@CommandServiceDefinition(domainClass = WebApplication.class, repositoryClass = WebApplicationCommandRepository.class)
public interface UpdateWebApplicationService
    extends CommandService<UpdateWebApplicationCommand, Void> {

    @Override
    @CommandMethodDefinition(contextClass = UpdateWebApplicationContext.class)
    Void execute(UpdateWebApplicationCommand command);
}
